// combineReducers 使用这个方法可以合并 reducer
import { combineReducers } from 'redux'

import productReducer from './product.reducer'
import cartReducer from './cart.reducer'
// 他的返回值就是我们需要的reducer
// products : []
// cart : []
export default combineReducers({
	products: productReducer,
	carts: cartReducer,
})
